package com.edu.test;

import com.edu.bean.IPlayGame;
import com.edu.bean.NormalPlayer;
import com.edu.bean.ProPlayer;
import org.junit.Test;

/**
 * @Author:何包蛋
 * @Date :2022/11/1 - 11 - 01 - 11:55
 */
public class MyTest01 {

    @Test
    public void test01(){

        NormalPlayer laoma = new NormalPlayer();
        laoma.setAccount("562669473");
        laoma.setPassword("123456");

        IPlayGame playGame = new ProPlayer(laoma);
        playGame.login();
        playGame.play();
    }
}
